﻿/** 
 * Description:购物车内商品明细
 * Date:2011-7-13
 * Author:Along	
*/
package com.community.shopping.domain;

public class ShoppingCartItem {
	 /**
	  * 商品明细ID
	  */
	  private Integer id;	  
	  /**
	   * 对应购物车
	   */
	  private ShoppingCart cart;
	  /**
	   * 对应商品
	   */
	  private Goods goods;
	  /**
	   * 数量
	   */
	  private Integer num;
	  /**
	   * 创建时间
	   */
	  private String createTime;
	/**
	 * @return the goods
	 */
	public Goods getGoods() {
		return goods;
	}
	/**
	 * @param goods the goods to set
	 */
	public void setGoods(Goods goods) {
		this.goods = goods;
	}
	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * @return the num
	 */
	public Integer getNum() {
		return num;
	}
	/**
	 * @param num the num to set
	 */
	public void setNum(Integer num) {
		this.num = num;
	}
	/**
	 * @return the cart
	 */
	public ShoppingCart getCart() {
		return cart;
	}
	/**
	 * @param cart the cart to set
	 */
	public void setCart(ShoppingCart cart) {
		this.cart = cart;
	}
	/**
	 * @return the createTime
	 */
	public String getCreateTime() {
		return createTime;
	}
	/**
	 * @param createTime the createTime to set
	 */
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

}
